package com.gitee.jmash.websocket.mapper;

import com.crenjoy.proto.mapper.BeanMapper;
import com.crenjoy.proto.mapper.ProtoMapper;
import com.gitee.jmash.websocket.model.AiChatMessage;
import jmash.websocket.protobuf.AiChatMsgReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * MessageMapper.
 * @Author wyy
 * @Date 2025/7/16 18:12
 */
@Mapper
public interface MessageMapper extends BeanMapper, ProtoMapper {

  MessageMapper INSTANCE = Mappers.getMapper(MessageMapper.class);


  AiChatMessage toAiChatMessage(AiChatMsgReq req);

}
